#include <stdio.h>

struct Point {
	int x;
	int y;
};

struct Point* getValue(struct Point*);
void output(struct Point*);
void print(const struct Point*);

int main()
{
	struct Point y = { 0,0 };
	getValue(&y);
	output(&y);
	return 0;
}

struct Point* getValue(struct Point* p)
{
	scanf("%d", &p->x);
	scanf("%d", &p->y);
	printf("(%d, %d)\n", p->x, p->y);
}

void output(struct Point p)
{
	printf("(%d, %d)\n", p.x, p.y);
}

void print(const struct Point* p)
{
	printf("(%d, %d)\n", p->x, p->y);
}

/*
void getValue(struct Point p)
{
	scanf("%d", &p.x);
	scanf("%d", &p.y);
	printf("(%d, %d)\n", p.x, p.y);
}

void output(struct Point p)
{
	printf("(%d, %d)\n", p.x, p.y);
}
*/